package com.lzt.admin.common.captcha.config;

import com.lzt.admin.api.captcha.CaptchaAPI;
import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;

@Data
@ConfigurationProperties(
        prefix = CaptchaProperties.CAPTCHA_PREFIX
)
public class CaptchaProperties implements CaptchaAPI {
    private Integer width = DEFAULT_WIDTH;
    private Integer height = DEFAULT_HEIGHT;
    private Integer len = DEFAULT_LEN;
    private String session = DEFAULT_SESSION;
}
